dojo.provide("mobl._base.device");

// mobl._base.device contains general purpose information about devices
// We still have to check whether we include information such as support for camera and other mobile
// specific features here or in a dedicated mobl.support namespace
(function(m){
	// summary:
	//		onLine lets the user know whether the device has any active internet connection
	// 		We assume that devices can only be offline when they support the onLine property
	if (typeof navigator.onLine != "undefined"){
		m.onLine = navigator.onLine;
	}else{
		m.onLine = true;
	}
})(mobl);
